package com.gxa.core.recycling.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * 订单展示试图
 * @author HS
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class RecycleOrderShowVo {

    //订单id
    private Long id;
    //物资名称
    private String title;
    //交投人姓名
    private String userName;
    //所在小区名称
    private String communityManageName;
    //所在区域
    private String provinces;
    //交投人电话
    private String userPhone;
    //回收人姓名
    private String recycleName;

    //回收状态
    private String state;
    //回收时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date recoverytime;


    //回收订单项
    private List<RecycleItemVo> list;

    //交投人详细地址
    private String location;
}
